package cn.com.open.itembank.dto;

import cn.com.open.itembank.common.BaseModel;

import java.math.BigDecimal;

/**
 * Created by lucky on 2018/1/9.
 */
public class RuleModel extends BaseModel {
    public RuleModel() {
        this.ruleID = "";
        this.orgId = "";
        this.itemBankID = "";
        this.ruleName = "";
        this.totalScore = new BigDecimal(0);
        this.isTimeLimited = false;
        this.creatorId = "";
        this.createTime = "";
        this.modifierId = "";
        this.modifyTime = "";
    }

    /**
     * 策略ID
     */
    private String ruleID;

    /**
     * 机构ID
     */
    private String orgId;

    /**
     * 课程ID
     */
    private String itemBankID;

    /**
     * 策略名称
     */
    private String ruleName;

    /**
     * 总分
     */
    private BigDecimal totalScore;

    /**
     * 限制答题时间
     */
    private boolean isTimeLimited;

    /**
     * 创建人
     */
    private String creatorId;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 修改人
     */
    private String modifierId;

    /**
     * 修改时间
     */
    private String modifyTime;

    /**
     * Gets rule id.
     *
     * @return the rule id
     */
    public String getRuleID() {
        return ruleID;
    }

    /**
     * Sets rule id.
     *
     * @param ruleID the rule id
     */
    public void setRuleID(String ruleID) {
        this.ruleID = ruleID;
    }

    /**
     * Gets orgId.
     *
     * @return the orgId
     */
    public String getOrgId() {
        return orgId;
    }

    /**
     * Sets orgId.
     *
     * @param orgId the orgd
     */
    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    /**
     * Gets item bank id.
     *
     * @return the item bank id
     */
    public String getItemBankID() {
        return itemBankID;
    }

    /**
     * Sets item bank id.
     *
     * @param itemBankID the item bank id
     */
    public void setItemBankID(String itemBankID) {
        this.itemBankID = itemBankID;
    }

    /**
     * Gets rule name.
     *
     * @return the rule name
     */
    public String getRuleName() {
        return ruleName;
    }

    /**
     * Sets rule name.
     *
     * @param ruleName the rule name
     */
    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    /**
     * Gets total score.
     *
     * @return the total score
     */
    public BigDecimal getTotalScore() {
        return totalScore;
    }

    /**
     * Sets total score.
     *
     * @param totalScore the total score
     */
    public void setTotalScore(BigDecimal totalScore) {
        this.totalScore = totalScore;
    }

    /**
     * Is time limited boolean.
     *
     * @return the boolean
     */
    public boolean isTimeLimited() {
        return isTimeLimited;
    }

    /**
     * Sets time limited.
     *
     * @param timeLimited the time limited
     */
    public void setTimeLimited(boolean timeLimited) {
        isTimeLimited = timeLimited;
    }

    /**
     * Gets creator id.
     *
     * @return the creator id
     */
    public String getCreatorId() {
        return creatorId;
    }

    /**
     * Sets creator id.
     *
     * @param creatorId the creator id
     */
    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    /**
     * Gets create time.
     *
     * @return the create time
     */
    public String getCreateTime() {
        return createTime;
    }

    /**
     * Sets create time.
     *
     * @param createTime the create time
     */
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    /**
     * Gets modifier id.
     *
     * @return the modifier id
     */
    public String getModifierId() {
        return modifierId;
    }

    /**
     * Sets modifier id.
     *
     * @param modifierId the modifier id
     */
    public void setModifierId(String modifierId) {
        this.modifierId = modifierId;
    }

    /**
     * Gets modify time.
     *
     * @return the modify time
     */
    public String getModifyTime() {
        return modifyTime;
    }

    /**
     * Sets modify time.
     *
     * @param modifyTime the modify time
     */
    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }
}
